home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / e_to_l / itgraph / vb30 / itgdemo / itgdemo2.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-09-15  |  38.2 KB  |  1,113 lines

  1. VERSION 2.00
  2. Begin Form frmItemProperties 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "Item Properties"
  5.    ClientHeight    =   4392
  6.    ClientLeft      =   804
  7.    ClientTop       =   708
  8.    ClientWidth     =   8016
  9.    Height          =   4764
  10.    Left            =   756
  11.    LinkTopic       =   "Form3"
  12.    ScaleHeight     =   4392
  13.    ScaleWidth      =   8016
  14.    Top             =   384
  15.    Width           =   8112
  16.    Begin TextBox edtItemHeight 
  17.       FontBold        =   -1  'True
  18.       FontItalic      =   0   'False
  19.       FontName        =   "Arial"
  20.       FontSize        =   7.8
  21.       FontStrikethru  =   0   'False
  22.       FontUnderline   =   0   'False
  23.       Height          =   360
  24.       Left            =   3120
  25.       TabIndex        =   69
  26.       Top             =   1560
  27.       Width           =   852
  28.    End
  29.    Begin TextBox edtItemWidth 
  30.       FontBold        =   -1  'True
  31.       FontItalic      =   0   'False
  32.       FontName        =   "Arial"
  33.       FontSize        =   7.8
  34.       FontStrikethru  =   0   'False
  35.       FontUnderline   =   0   'False
  36.       Height          =   360
  37.       Left            =   1080
  38.       TabIndex        =   68
  39.       TabStop         =   0   'False
  40.       Top             =   1560
  41.       Width           =   852
  42.    End
  43.    Begin CheckBox chkItemDrawLabel 
  44.       Caption         =   "Draw"
  45.       Height          =   252
  46.       Left            =   240
  47.       TabIndex        =   67
  48.       Top             =   360
  49.       Width           =   792
  50.    End
  51.    Begin Frame Frame4 
  52.       Caption         =   "Graphic Alignment"
  53.       Height          =   1332
  54.       Left            =   4020
  55.       TabIndex        =   54
  56.       Top             =   2520
  57.       Width           =   3912
  58.       Begin Frame Frame7 
  59.          Caption         =   "Vertical"
  60.          Height          =   1092
  61.          Left            =   2844
  62.          TabIndex        =   63
  63.          Top             =   156
  64.          Width           =   972
  65.          Begin OptionButton btnGraphicPosV 
  66.             Caption         =   "Top"
  67.             Height          =   252
  68.             Index           =   0
  69.             Left            =   60
  70.             TabIndex        =   66
  71.             Top             =   300
  72.             Width           =   732
  73.          End
  74.          Begin OptionButton btnGraphicPosV 
  75.             Caption         =   "Middle"
  76.             Height          =   252
  77.             Index           =   1
  78.             Left            =   60
  79.             TabIndex        =   65
  80.             Top             =   540
  81.             Value           =   -1  'True
  82.             Width           =   852
  83.          End
  84.          Begin OptionButton btnGraphicPosV 
  85.             Caption         =   "Bottom"
  86.             Height          =   252
  87.             Index           =   2
  88.             Left            =   60
  89.             TabIndex        =   64
  90.             Top             =   780
  91.             Width           =   852
  92.          End
  93.       End
  94.       Begin Frame Frame5 
  95.          Caption         =   "Horizontal"
  96.          Height          =   1092
  97.          Left            =   1764
  98.          TabIndex        =   59
  99.          Top             =   156
  100.          Width           =   1032
  101.          Begin OptionButton btnGraphicPosH 
  102.             Caption         =   "Right"
  103.             Height          =   252
  104.             Index           =   2
  105.             Left            =   60
  106.             TabIndex        =   62
  107.             Top             =   780
  108.             Width           =   852
  109.          End
  110.          Begin OptionButton btnGraphicPosH 
  111.             Caption         =   "Center"
  112.             Height          =   252
  113.             Index           =   1
  114.             Left            =   60
  115.             TabIndex        =   61
  116.             Top             =   540
  117.             Value           =   -1  'True
  118.             Width           =   852
  119.          End
  120.          Begin OptionButton btnGraphicPosH 
  121.             Caption         =   "Left"
  122.             Height          =   252
  123.             Index           =   0
  124.             Left            =   60
  125.             TabIndex        =   60
  126.             Top             =   300
  127.             Width           =   792
  128.          End
  129.       End
  130.       Begin TextBox txtItemGraphicLeft 
  131.          Height          =   312
  132.          Left            =   264
  133.          TabIndex        =   58
  134.          Top             =   456
  135.          Width           =   552
  136.       End
  137.       Begin TextBox txtItemGraphicWidth 
  138.          Height          =   312
  139.          Left            =   1110
  140.          TabIndex        =   57
  141.          Top             =   456
  142.          Width           =   552
  143.       End
  144.       Begin TextBox txtItemGraphicTop 
  145.          Height          =   312
  146.          Left            =   264
  147.          TabIndex        =   56
  148.          Top             =   816
  149.          Width           =   552
  150.       End
  151.       Begin TextBox txtItemGraphicHeight 
  152.          Height          =   312
  153.          Left            =   1110
  154.          TabIndex        =   55
  155.          Top             =   816
  156.          Width           =   552
  157.       End
  158.       Begin Label Label19 
  159.          Alignment       =   1  'Right Justify
  160.          Caption         =   "L:"
  161.          Height          =   252
  162.          Left            =   60
  163.          TabIndex        =   33
  164.          Top             =   492
  165.          Width           =   192
  166.       End
  167.       Begin Label Label18 
  168.          Alignment       =   1  'Right Justify
  169.          Caption         =   "W:"
  170.          Height          =   252
  171.          Left            =   840
  172.          TabIndex        =   34
  173.          Top             =   492
  174.          Width           =   252
  175.       End
  176.       Begin Label Label17 
  177.          Alignment       =   1  'Right Justify
  178.          Caption         =   "T:"
  179.          Height          =   252
  180.          Left            =   60
  181.          TabIndex        =   35
  182.          Top             =   852
  183.          Width           =   192
  184.       End
  185.       Begin Label Label16 
  186.          Alignment       =   1  'Right Justify
  187.          Caption         =   "H:"
  188.          Height          =   252
  189.          Left            =   840
  190.          TabIndex        =   36
  191.          Top             =   852
  192.          Width           =   252
  193.       End
  194.    End
  195.    Begin Frame Frame6 
  196.       Caption         =   "Text Alignment"
  197.       Height          =   1332
  198.       Left            =   4020
  199.       TabIndex        =   37
  200.       Top             =   1140
  201.       Width           =   3912
  202.       Begin TextBox txtItemTextHeight 
  203.          Height          =   312
  204.          Left            =   1104
  205.          TabIndex        =   53
  206.          Top             =   816
  207.          Width           =   552
  208.       End
  209.       Begin TextBox txtItemTextTop 
  210.          Height          =   312
  211.          Left            =   264
  212.          TabIndex        =   51
  213.          Top             =   816
  214.          Width           =   552
  215.       End
  216.       Begin TextBox txtItemTextWidth 
  217.          Height          =   312
  218.          Left            =   1104
  219.          TabIndex        =   49
  220.          Top             =   456
  221.          Width           =   552
  222.       End
  223.       Begin TextBox txtItemTextLeft 
  224.          Height          =   312
  225.          Left            =   264
  226.          TabIndex        =   47
  227.          Top             =   456
  228.          Width           =   552
  229.       End
  230.       Begin Frame Frame2 
  231.          Caption         =   "Horizontal"
  232.          Height          =   1092
  233.          Left            =   1764
  234.          TabIndex        =   42
  235.          Top             =   156
  236.          Width           =   1032
  237.          Begin OptionButton btnTextPosH 
  238.             Caption         =   "Left"
  239.             Height          =   252
  240.             Index           =   0
  241.             Left            =   60
  242.             TabIndex        =   45
  243.             Top             =   300
  244.             Width           =   792
  245.          End
  246.          Begin OptionButton btnTextPosH 
  247.             Caption         =   "Center"
  248.             Height          =   252
  249.             Index           =   1
  250.             Left            =   60
  251.             TabIndex        =   44
  252.             Top             =   540
  253.             Value           =   -1  'True
  254.             Width           =   852
  255.          End
  256.          Begin OptionButton btnTextPosH 
  257.             Caption         =   "Right"
  258.             Height          =   252
  259.             Index           =   2
  260.             Left            =   60
  261.             TabIndex        =   43
  262.             Top             =   780
  263.             Width           =   852
  264.          End
  265.       End
  266.       Begin Frame Frame3 
  267.          Caption         =   "Vertical"
  268.          Height          =   1092
  269.          Left            =   2844
  270.          TabIndex        =   38
  271.          Top             =   156
  272.          Width           =   972
  273.          Begin OptionButton btnTextPosV 
  274.             Caption         =   "Bottom"
  275.             Height          =   252
  276.             Index           =   2
  277.             Left            =   60
  278.             TabIndex        =   41
  279.             Top             =   780
  280.             Width           =   852
  281.          End
  282.          Begin OptionButton btnTextPosV 
  283.             Caption         =   "Middle"
  284.             Height          =   252
  285.             Index           =   1
  286.             Left            =   60
  287.             TabIndex        =   40
  288.             Top             =   540
  289.             Value           =   -1  'True
  290.             Width           =   852
  291.          End
  292.          Begin OptionButton btnTextPosV 
  293.             Caption         =   "Top"
  294.             Height          =   252
  295.             Index           =   0
  296.             Left            =   60
  297.             TabIndex        =   39
  298.             Top             =   300
  299.             Width           =   732
  300.          End
  301.       End
  302.       Begin Label Label15 
  303.          Alignment       =   1  'Right Justify
  304.          Caption         =   "H:"
  305.          Height          =   252
  306.          Left            =   840
  307.          TabIndex        =   52
  308.          Top             =   852
  309.          Width           =   252
  310.       End
  311.       Begin Label Label14 
  312.          Alignment       =   1  'Right Justify
  313.          Caption         =   "T:"
  314.          Height          =   252
  315.          Left            =   60
  316.          TabIndex        =   50
  317.          Top             =   852
  318.          Width           =   192
  319.       End
  320.       Begin Label Label13 
  321.          Alignment       =   1  'Right Justify
  322.          Caption         =   "W:"
  323.          Height          =   252
  324.          Left            =   840
  325.          TabIndex        =   48
  326.          Top             =   492
  327.          Width           =   252
  328.       End
  329.       Begin Label Label12 
  330.          Alignment       =   1  'Right Justify
  331.          Caption         =   "L:"
  332.          Height          =   252
  333.          Left            =   60
  334.          TabIndex        =   46
  335.          Top             =   492
  336.          Width           =   192
  337.       End
  338.    End
  339.    Begin CommandButton btnShapeSelect 
  340.       Caption         =   "Set"
  341.       Height          =   288
  342.       Left            =   7320
  343.       TabIndex        =   32
  344.       Top             =   60
  345.       Width           =   612
  346.    End
  347.    Begin ComboBox cmbItemGraphic 
  348.       FontBold        =   -1  'True
  349.       FontItalic      =   0   'False
  350.       FontName        =   "Arial"
  351.       FontSize        =   7.8
  352.       FontStrikethru  =   0   'False
  353.       FontUnderline   =   0   'False
  354.       Height          =   288
  355.       Left            =   5220
  356.       Style           =   2  'Dropdown List
  357.       TabIndex        =   31
  358.       Top             =   420
  359.       Width           =   2052
  360.    End
  361.    Begin CommandButton btnGraphicSelect 
  362.       Caption         =   "Set"
  363.       Height          =   288
  364.       Left            =   7320
  365.       TabIndex        =   30
  366.       Top             =   420
  367.       Width           =   612
  368.    End
  369.    Begin ComboBox cmbShapeStyle 
  370.       FontBold        =   -1  'True
  371.       FontItalic      =   0   'False
  372.       FontName        =   "Arial"
  373.       FontSize        =   7.8
  374.       FontStrikethru  =   0   'False
  375.       FontUnderline   =   0   'False
  376.       Height          =   288
  377.       Left            =   5220
  378.       Style           =   2  'Dropdown List
  379.       TabIndex        =   27
  380.       Top             =   780
  381.       Width           =   2712
  382.    End
  383.    Begin Frame Frame1 
  384.       Caption         =   "Colors"
  385.       Height          =   1092
  386.       Left            =   60
  387.       TabIndex        =   20
  388.       Top             =   2880
  389.       Width           =   1812
  390.       Begin PictureBox pctItemTextColor 
  391.          BackColor       =   &H00000000&
  392.          FontBold        =   -1  'True
  393.          FontItalic      =   0   'False
  394.          FontName        =   "Arial"
  395.          FontSize        =   7.8
  396.          FontStrikethru  =   0   'False
  397.          FontUnderline   =   0   'False
  398.          Height          =   192
  399.          Left            =   120
  400.          ScaleHeight     =   168
  401.          ScaleWidth      =   168
  402.          TabIndex        =   23
  403.          Top             =   780
  404.          Width           =   192
  405.       End
  406.       Begin PictureBox pctItemFillColor 
  407.          BackColor       =   &H0000FFFF&
  408.          FontBold        =   -1  'True
  409.          FontItalic      =   0   'False
  410.          FontName        =   "Arial"
  411.          FontSize        =   7.8
  412.          FontStrikethru  =   0   'False
  413.          FontUnderline   =   0   'False
  414.          Height          =   192
  415.          Left            =   120
  416.          ScaleHeight     =   168
  417.          ScaleWidth      =   168
  418.          TabIndex        =   22
  419.          Top             =   540
  420.          Width           =   192
  421.       End
  422.       Begin PictureBox pctItemBorderColor 
  423.          BackColor       =   &H00C0C0C0&
  424.          FontBold        =   -1  'True
  425.          FontItalic      =   0   'False
  426.          FontName        =   "Arial"
  427.          FontSize        =   7.8
  428.          FontStrikethru  =   0   'False
  429.          FontUnderline   =   0   'False
  430.          Height          =   192
  431.          Left            =   120
  432.          ScaleHeight     =   168
  433.          ScaleWidth      =   168
  434.          TabIndex        =   21
  435.          Top             =   300
  436.          Width           =   192
  437.       End
  438.       Begin Label Label7 
  439.          Caption         =   "ItemTextColor"
  440.          FontBold        =   -1  'True
  441.          FontItalic      =   0   'False
  442.          FontName        =   "Arial"
  443.          FontSize        =   7.8
  444.          FontStrikethru  =   0   'False
  445.          FontUnderline   =   0   'False
  446.          Height          =   192
  447.          Left            =   360
  448.          TabIndex        =   26
  449.          Top             =   780
  450.          Width           =   1212
  451.       End
  452.       Begin Label Label8 
  453.          Caption         =   "ItemFillColor"
  454.          FontBold        =   -1  'True
  455.          FontItalic      =   0   'False
  456.          FontName        =   "Arial"
  457.          FontSize        =   7.8
  458.          FontStrikethru  =   0   'False
  459.          FontUnderline   =   0   'False
  460.          Height          =   192
  461.          Left            =   360
  462.          TabIndex        =   25
  463.          Top             =   540
  464.          Width           =   1092
  465.       End
  466.       Begin Label Label9 
  467.          Caption         =   "ItemBorderColor"
  468.          FontBold        =   -1  'True
  469.          FontItalic      =   0   'False
  470.          FontName        =   "Arial"
  471.          FontSize        =   7.8
  472.          FontStrikethru  =   0   'False
  473.          FontUnderline   =   0   'False
  474.          Height          =   192
  475.          Left            =   360
  476.          TabIndex        =   24
  477.          Top             =   300
  478.          Width           =   1392
  479.       End
  480.    End
  481.    Begin ListBox lstTargets 
  482.       FontBold        =   -1  'True
  483.       FontItalic      =   0   'False
  484.       FontName        =   "Arial"
  485.       FontSize        =   7.8
  486.       FontStrikethru  =   0   'False
  487.       FontUnderline   =   0   'False
  488.       Height          =   600
  489.       Left            =   2040
  490.       Sorted          =   -1  'True
  491.       TabIndex        =   19
  492.       Top             =   2220
  493.       Width           =   1932
  494.    End
  495.    Begin ListBox lstSources 
  496.       FontBold        =   -1  'True
  497.       FontItalic      =   0   'False
  498.       FontName        =   "Arial"
  499.       FontSize        =   7.8
  500.       FontStrikethru  =   0   'False
  501.       FontUnderline   =   0   'False
  502.       Height          =   600
  503.       Left            =   60
  504.       Sorted          =   -1  'True
  505.       TabIndex        =   18
  506.       Top             =   2220
  507.       Width           =   1932
  508.    End
  509.    Begin CommonDialog CMDialog1 
  510.       CancelError     =   -1  'True
  511.       Filter          =   "All Picture FIles|*.bmp;*.wmf;*.ico;*.dib|Bitmaps(*.bmp;*.dib)|*.bmp;*.dib|Metafiles(*.wmf)|*.wmf|Icons(*.ico)|*.ico|All Files(*.*)|*.*"
  512.       FilterIndex     =   1
  513.       Flags           =   4100
  514.       Left            =   2220
  515.       Top             =   3600
  516.    End
  517.    Begin ComboBox cmbItemShape 
  518.       FontBold        =   -1  'True
  519.       FontItalic      =   0   'False
  520.       FontName        =   "Arial"
  521.       FontSize        =   7.8
  522.       FontStrikethru  =   0   'False
  523.       FontUnderline   =   0   'False
  524.       Height          =   288
  525.       Left            =   5220
  526.       Style           =   2  'Dropdown List
  527.       TabIndex        =   15
  528.       Top             =   60
  529.       Width           =   2052
  530.    End
  531.    Begin TextBox edtItemXpos 
  532.       FontBold        =   -1  'True
  533.       FontItalic      =   0   'False
  534.       FontName        =   "Arial"
  535.       FontSize        =   7.8
  536.       FontStrikethru  =   0   'False
  537.       FontUnderline   =   0   'False
  538.       Height          =   360
  539.       Left            =   1080
  540.       TabIndex        =   11
  541.       TabStop         =   0   'False
  542.       Top             =   1200
  543.       Width           =   852
  544.    End
  545.    Begin TextBox edtItemYpos 
  546.       FontBold        =   -1  'True
  547.       FontItalic      =   0   'False
  548.       FontName        =   "Arial"
  549.       FontSize        =   7.8
  550.       FontStrikethru  =   0   'False
  551.       FontUnderline   =   0   'False
  552.       Height          =   360
  553.       Left            =   3120
  554.       TabIndex        =   10
  555.       Top             =   1200
  556.       Width           =   852
  557.    End
  558.    Begin TextBox edtItemData 
  559.       FontBold        =   -1  'True
  560.       FontItalic      =   0   'False
  561.       FontName        =   "Arial"
  562.       FontSize        =   7.8
  563.       FontStrikethru  =   0   'False
  564.       FontUnderline   =   0   'False
  565.       Height          =   360
  566.       Left            =   3120
  567.       TabIndex        =   8
  568.       Top             =   840
  569.       Width           =   852
  570.    End
  571.    Begin TextBox edtItemId 
  572.       Enabled         =   0   'False
  573.       FontBold        =   -1  'True
  574.       FontItalic      =   0   'False
  575.       FontName        =   "Arial"
  576.       FontSize        =   7.8
  577.       FontStrikethru  =   0   'False
  578.       FontUnderline   =   0   'False
  579.       Height          =   360
  580.       Left            =   1080
  581.       TabIndex        =   6
  582.       TabStop         =   0   'False
  583.       Top             =   840
  584.       Width           =   852
  585.    End
  586.    Begin CommandButton cmdAccept 
  587.       Caption         =   "&Accept"
  588.       Default         =   -1  'True
  589.       FontBold        =   -1  'True
  590.       FontItalic      =   0   'False
  591.       FontName        =   "System"
  592.       FontSize        =   9.6
  593.       FontStrikethru  =   0   'False
  594.       FontUnderline   =   0   'False
  595.       Height          =   372
  596.       Left            =   5940
  597.       TabIndex        =   4
  598.       TabStop         =   0   'False
  599.       Top             =   3960
  600.       Width           =   972
  601.    End
  602.    Begin CommandButton cmdDelete 
  603.       Caption         =   "&Delete"
  604.       FontBold        =   -1  'True
  605.       FontItalic      =   0   'False
  606.       FontName        =   "System"
  607.       FontSize        =   9.6
  608.       FontStrikethru  =   0   'False
  609.       FontUnderline   =   0   'False
  610.       Height          =   372
  611.       Left            =   4920
  612.       TabIndex        =   3
  613.       TabStop         =   0   'False
  614.       Top             =   3960
  615.       Width           =   972
  616.    End
  617.    Begin TextBox edtList 
  618.       FontBold        =   -1  'True
  619.       FontItalic      =   0   'False
  620.       FontName        =   "Arial"
  621.       FontSize        =   7.8
  622.       FontStrikethru  =   0   'False
  623.       FontUnderline   =   0   'False
  624.       Height          =   780
  625.       Left            =   1080
  626.       MultiLine       =   -1  'True
  627.       TabIndex        =   2
  628.       Top             =   60
  629.       Width           =   2892
  630.    End
  631.    Begin CommandButton cmdCancel 
  632.       Cancel          =   -1  'True
  633.       Caption         =   "&Cancel"
  634.       FontBold        =   -1  'True
  635.       FontItalic      =   0   'False
  636.       FontName        =   "System"
  637.       FontSize        =   9.6
  638.       FontStrikethru  =   0   'False
  639.       FontUnderline   =   0   'False
  640.       Height          =   372
  641.       Left            =   6960
  642.       TabIndex        =   0
  643.       TabStop         =   0   'False
  644.       Top             =   3960
  645.       Width           =   972
  646.    End
  647.    Begin Label Label21 
  648.       Alignment       =   1  'Right Justify
  649.       Caption         =   "ItemHeight:"
  650.       FontBold        =   -1  'True
  651.       FontItalic      =   0   'False
  652.       FontName        =   "Arial"
  653.       FontSize        =   7.8
  654.       FontStrikethru  =   0   'False
  655.       FontUnderline   =   0   'False
  656.       Height          =   192
  657.       Left            =   2160
  658.       TabIndex        =   71
  659.       Top             =   1620
  660.       Width           =   912
  661.    End
  662.    Begin Label Label20 
  663.       Alignment       =   1  'Right Justify
  664.       Caption         =   "ItemWidth:"
  665.       FontBold        =   -1  'True
  666.       FontItalic      =   0   'False
  667.       FontName        =   "Arial"
  668.       FontSize        =   7.8
  669.       FontStrikethru  =   0   'False
  670.       FontUnderline   =   0   'False
  671.       Height          =   192
  672.       Left            =   120
  673.       TabIndex        =   70
  674.       Top             =   1620
  675.       Width           =   912
  676.    End
  677.    Begin Label Label11 
  678.       Alignment       =   1  'Right Justify
  679.       Caption         =   "ItemGraphic:"
  680.       FontBold        =   -1  'True
  681.       FontItalic      =   0   'False
  682.       FontName        =   "Arial"
  683.       FontSize        =   7.8
  684.       FontStrikethru  =   0   'False
  685.       FontUnderline   =   0   'False
  686.       Height          =   192
  687.       Left            =   4080
  688.       TabIndex        =   29
  689.       Top             =   480
  690.       Width           =   1092
  691.    End
  692.    Begin Label Label10 
  693.       Alignment       =   1  'Right Justify
  694.       Caption         =   "GraphicStyle:"
  695.       FontBold        =   -1  'True
  696.       FontItalic      =   0   'False
  697.       FontName        =   "Arial"
  698.       FontSize        =   7.8
  699.       FontStrikethru  =   0   'False
  700.       FontUnderline   =   0   'False
  701.       Height          =   192
  702.       Left            =   4020
  703.       TabIndex        =   28
  704.       Top             =   840
  705.       Width           =   1152
  706.    End
  707.    Begin Label lblTargets 
  708.       Caption         =   "Targets:"
  709.       FontBold        =   -1  'True
  710.       FontItalic      =   0   'False
  711.       FontName        =   "Arial"
  712.       FontSize        =   7.8
  713.       FontStrikethru  =   0   'False
  714.       FontUnderline   =   0   'False
  715.       Height          =   252
  716.       Left            =   2040
  717.       TabIndex        =   17
  718.       Top             =   1980
  719.       Width           =   1752
  720.    End
  721.    Begin Label lblSources 
  722.       Caption         =   "Sources:"
  723.       FontBold        =   -1  'True
  724.       FontItalic      =   0   'False
  725.       FontName        =   "Arial"
  726.       FontSize        =   7.8
  727.       FontStrikethru  =   0   'False
  728.       FontUnderline   =   0   'False
  729.       Height          =   252
  730.       Left            =   60
  731.       TabIndex        =   16
  732.       Top             =   1980
  733.       Width           =   1752
  734.    End
  735.    Begin Label Label6 
  736.       Alignment       =   1  'Right Justify
  737.       Caption         =   "ItemShape:"
  738.       FontBold        =   -1  'True
  739.       FontItalic      =   0   'False
  740.       FontName        =   "Arial"
  741.       FontSize        =   7.8
  742.       FontStrikethru  =   0   'False
  743.       FontUnderline   =   0   'False
  744.       Height          =   192
  745.       Left            =   4200
  746.       TabIndex        =   14
  747.       Top             =   120
  748.       Width           =   972
  749.    End
  750.    Begin Label Label5 
  751.       Alignment       =   1  'Right Justify
  752.       Caption         =   "ItemXpos:"
  753.       FontBold        =   -1  'True
  754.       FontItalic      =   0   'False
  755.       FontName        =   "Arial"
  756.       FontSize        =   7.8
  757.       FontStrikethru  =   0   'False
  758.       FontUnderline   =   0   'False
  759.       Height          =   192
  760.       Left            =   180
  761.       TabIndex        =   13
  762.       Top             =   1260
  763.       Width           =   852
  764.    End
  765.    Begin Label Label4 
  766.       Alignment       =   1  'Right Justify
  767.       Caption         =   "ItemYpos:"
  768.       FontBold        =   -1  'True
  769.       FontItalic      =   0   'False
  770.       FontName        =   "Arial"
  771.       FontSize        =   7.8
  772.       FontStrikethru  =   0   'False
  773.       FontUnderline   =   0   'False
  774.       Height          =   192
  775.       Left            =   2220
  776.       TabIndex        =   12
  777.       Top             =   1260
  778.       Width           =   852
  779.    End
  780.    Begin Label Label3 
  781.       Alignment       =   1  'Right Justify
  782.       Caption         =   "ItemData:"
  783.       FontBold        =   -1  'True
  784.       FontItalic      =   0   'False
  785.       FontName        =   "Arial"
  786.       FontSize        =   7.8
  787.       FontStrikethru  =   0   'False
  788.       FontUnderline   =   0   'False
  789.       Height          =   192
  790.       Left            =   2220
  791.       TabIndex        =   9
  792.       Top             =   900
  793.       Width           =   852
  794.    End
  795.    Begin Label Label2 
  796.       Alignment       =   1  'Right Justify
  797.       Caption         =   "ItemId:"
  798.       FontBold        =   -1  'True
  799.       FontItalic      =   0   'False
  800.       FontName        =   "Arial"
  801.       FontSize        =   7.8
  802.       FontStrikethru  =   0   'False
  803.       FontUnderline   =   0   'False
  804.       Height          =   192
  805.       Left            =   180
  806.       TabIndex        =   7
  807.       Top             =   900
  808.       Width           =   852
  809.    End
  810.    Begin Label txtListIndex 
  811.       Caption         =   "ListIndex"
  812.       FontBold        =   -1  'True
  813.       FontItalic      =   0   'False
  814.       FontName        =   "Arial"
  815.       FontSize        =   7.8
  816.       FontStrikethru  =   0   'False
  817.       FontUnderline   =   0   'False
  818.       Height          =   252
  819.       Left            =   2760
  820.       TabIndex        =   5
  821.       Top             =   3660
  822.       Visible         =   0   'False
  823.       Width           =   792
  824.    End
  825.    Begin Label Label1 
  826.       Alignment       =   1  'Right Justify
  827.       Caption         =   "List:"
  828.       FontBold        =   -1  'True
  829.       FontItalic      =   0   'False
  830.       FontName        =   "Arial"
  831.       FontSize        =   7.8
  832.       FontStrikethru  =   0   'False
  833.       FontUnderline   =   0   'False
  834.       Height          =   192
  835.       Left            =   180
  836.       TabIndex        =   1
  837.       Top             =   120
  838.       Width           =   852
  839.    End
  840. Sub btnGraphicSelect_Click ()
  841.   Dim ix%, graphicIx%
  842.   ix = Val(txtListIndex)
  843.   frmPlayground!ITGraph1.GraphicSelect = cmbItemGraphic.ListIndex
  844.   graphicIx = frmPlayground!ITGraph1.GraphicSelect
  845.   If graphicIx >= 0 Then
  846.     Call LoadGraphicNames
  847.     cmbItemGraphic.ListIndex = graphicIx
  848.   End If
  849. End Sub
  850. Sub btnShapeSelect_Click ()
  851.   Dim ix%, shapeIx%
  852.   ix = Val(txtListIndex)
  853.   frmPlayground!ITGraph1.ShapeSelect = cmbItemShape.ListIndex
  854.   shapeIx = frmPlayground!ITGraph1.ShapeSelect
  855.   If shapeIx >= 0 Then
  856.     cmbItemShape.ListIndex = shapeIx
  857.   End If
  858. End Sub
  859. Sub cmdAccept_Click ()
  860.   Dim ix%, textPos%, graphicPos%
  861.   If txtListIndex.Caption = "" Then
  862.     frmPlayground!ITGraph1.AddItem edtList.Text
  863.     ix = frmPlayground!ITGraph1.NewIndex
  864.   Else
  865.     ix = Val(txtListIndex.Caption)
  866.     frmPlayground!ITGraph1.List(ix) = edtList.Text
  867.   End If
  868.   frmPlayground!ITGraph1.ItemDrawLabel(ix) = chkItemDrawLabel.Value
  869.   frmPlayground!ITGraph1.ItemData(ix) = Val(edtItemData.Text)
  870.   If edtItemXpos.Text <> "" Then
  871.     frmPlayground!ITGraph1.ItemXpos(ix) = Val(edtItemXpos.Text)
  872.   End If
  873.   If edtItemYpos.Text <> "" Then
  874.     frmPlayground!ITGraph1.ItemYpos(ix) = Val(edtItemYpos.Text)
  875.   End If
  876.   If edtItemWidth.Text <> "" Then
  877.     frmPlayground!ITGraph1.ItemWidth(ix) = Val(edtItemWidth.Text)
  878.   End If
  879.   If edtItemHeight.Text <> "" Then
  880.     frmPlayground!ITGraph1.ItemHeight(ix) = Val(edtItemHeight.Text)
  881.   End If
  882.   frmPlayground!ITGraph1.ItemShape(ix) = cmbItemShape.ListIndex
  883.   frmPlayground!ITGraph1.ItemBorderColor(ix) = pctItemBorderColor.BackColor
  884.   frmPlayground!ITGraph1.ItemFillColor(ix) = pctItemFillColor.BackColor
  885.   frmPlayground!ITGraph1.ItemTextColor(ix) = pctItemTextColor.BackColor
  886.   frmPlayground!ITGraph1.ItemLabelLeft(ix) = Val(txtItemTextLeft.Text)
  887.   frmPlayground!ITGraph1.ItemLabelWidth(ix) = Val(txtItemTextWidth.Text)
  888.   frmPlayground!ITGraph1.ItemLabelTop(ix) = Val(txtItemTextTop.Text)
  889.   frmPlayground!ITGraph1.ItemLabelHeight(ix) = Val(txtItemTextHeight.Text)
  890.   textPos = 0
  891.   For i = 0 To 2
  892.     If btnTextPosH(i).Value Then
  893.       textPos = textPos + i
  894.     End If
  895.     If btnTextPosV(i).Value Then
  896.       textPos = textPos + 3 * i
  897.     End If
  898.   Next i
  899.   frmPlayground!ITGraph1.ItemLabelAlign(ix) = textPos
  900.   frmPlayground!ITGraph1.ItemGraphic(ix) = cmbItemGraphic.ListIndex
  901.   frmPlayground!ITGraph1.ItemGraphicStyle(ix) = cmbShapeStyle.ListIndex
  902.   frmPlayground!ITGraph1.ItemGraphicLeft(ix) = Val(txtItemGraphicLeft.Text)
  903.   frmPlayground!ITGraph1.ItemGraphicWidth(ix) = Val(txtItemGraphicWidth.Text)
  904.   frmPlayground!ITGraph1.ItemGraphicTop(ix) = Val(txtItemGraphicTop.Text)
  905.   frmPlayground!ITGraph1.ItemGraphicHeight(ix) = Val(txtItemGraphicHeight.Text)
  906.   graphicPos = 0
  907.   For i = 0 To 2
  908.     If btnGraphicPosH(i).Value Then
  909.       graphicPos = graphicPos + i
  910.     End If
  911.     If btnGraphicPosV(i).Value Then
  912.       graphicPos = graphicPos + 3 * i
  913.     End If
  914.   Next i
  915.   frmPlayground!ITGraph1.ItemGraphicAlign(ix) = graphicPos
  916.   frmPlayground.Enabled = True
  917.   frmItemProperties.Hide
  918. End Sub
  919. Sub cmdCancel_Click ()
  920.   frmPlayground.Enabled = True
  921.   frmItemProperties.Hide
  922.   Unload Me
  923. End Sub
  924. Sub cmdDelete_Click ()
  925.   frmPlayground!ITGraph1.RemoveItem Val(txtListIndex)
  926.   frmPlayground.Enabled = True
  927.   frmItemProperties.Hide
  928. End Sub
  929. Sub edtList_Change ()
  930.   If edtList.Text = "" Then
  931.     cmdAccept.Enabled = False
  932.   Else
  933.     cmdAccept.Enabled = True
  934.   End If
  935. End Sub
  936. Sub Form_Activate ()
  937.   Dim ix%
  938.   Call LoadShapeNames
  939.   Call LoadGraphicNames
  940.   If txtListIndex.Caption = "" Then
  941.     Me.Caption = "New Item Properties"
  942.     edtList.Text = ""
  943.     chkItemDrawLabel.Value = 1
  944.     edtItemId.Text = "????"
  945.     edtItemData.Text = "0"
  946.     edtItemXpos.Text = ""
  947.     edtItemYpos.Text = ""
  948.     edtItemWidth = CStr(frmPlayground!ITGraph1.XSpan)
  949.     edtItemHeight = CStr(frmPlayground!ITGraph1.YSpan)
  950.     cmbItemShape.ListIndex = ITG_ShapeDefault
  951.     pctItemBorderColor.BackColor = frmPlayground!ITGraph1.ForeColor
  952.     pctItemFillColor.BackColor = frmPlayground!ITGraph1.FillColor
  953.     pctItemTextColor.BackColor = frmPlayground!ITGraph1.ForeColor
  954.     lblSources = "Sources: 0"
  955.     lblTargets = "Targets: 0"
  956.     lstSources.Clear
  957.     lstTargets.Clear
  958.     txtItemTextLeft = "0"
  959.     txtItemTextWidth = "0"
  960.     txtItemTextTop = "0"
  961.     txtItemTextHeight = "0"
  962.     btnTextPosH(1).Value = True
  963.     btnTextPosV(1).Value = True
  964.     txtItemGraphicLeft = "0"
  965.     txtItemGraphicWidth = "0"
  966.     txtItemGraphicTop = "0"
  967.     txtItemGraphicHeight = "0"
  968.     btnGraphicPosH(1).Value = True
  969.     btnGraphicPosV(1).Value = True
  970.     cmbShapeStyle.ListIndex = ITG_SSFill
  971.     cmdDelete.Visible = False
  972.     cmdAccept.Enabled = False
  973.   Else
  974.     ix = Val(txtListIndex.Caption)
  975.     Me.Caption = "Properties for Item " & Format$(ix + 1) & " of " & Format$(frmPlayground!ITGraph1.ListCount)
  976.     edtList.Text = frmPlayground!ITGraph1.List(ix)
  977.     chkItemDrawLabel.Value = Abs(frmPlayground!ITGraph1.ItemDrawLabel(ix))
  978.     edtItemId.Text = Format$(frmPlayground!ITGraph1.ItemId(ix))
  979.     edtItemData.Text = Format$(frmPlayground!ITGraph1.ItemData(ix))
  980.     edtItemXpos.Text = Format$(frmPlayground!ITGraph1.ItemXpos(ix))
  981.     edtItemYpos.Text = Format$(frmPlayground!ITGraph1.ItemYpos(ix))
  982.     edtItemWidth.Text = Format$(frmPlayground!ITGraph1.ItemWidth(ix))
  983.     edtItemHeight.Text = Format$(frmPlayground!ITGraph1.ItemHeight(ix))
  984.     cmbItemGraphic.ListIndex = frmPlayground!ITGraph1.ItemGraphic(ix)
  985.     cmbItemShape.ListIndex = frmPlayground!ITGraph1.ItemShape(ix)
  986.     frmPlayground!ITGraph1.QueryItem = ix
  987.     frmPlayground!ITGraph1.QueryState = ITG_QueryGetSources
  988.     lblSources = "Sources: " & Format$(frmPlayground!ITGraph1.QueryCount)
  989.     lstSources.Clear
  990.     While frmPlayground!ITGraph1.QueryState
  991.       lstSources.AddItem (frmPlayground!ITGraph1.List(frmPlayground!ITGraph1.ConnectFromIndex))
  992.       lstSources.ItemData(lstSources.NewIndex) = frmPlayground!ITGraph1.ConnectFromIndex
  993.       frmPlayground!ITGraph1.QueryState = ITG_QueryIterate
  994.     Wend
  995.     frmPlayground!ITGraph1.QueryItem = ix
  996.     frmPlayground!ITGraph1.QueryState = ITG_QueryGetTargets
  997.     lblTargets = "Targets: " & Format$(frmPlayground!ITGraph1.QueryCount)
  998.     lstTargets.Clear
  999.     While frmPlayground!ITGraph1.QueryState
  1000.       lstTargets.AddItem (frmPlayground!ITGraph1.List(frmPlayground!ITGraph1.ConnectToIndex))
  1001.       lstTargets.ItemData(lstTargets.NewIndex) = frmPlayground!ITGraph1.ConnectToIndex
  1002.       frmPlayground!ITGraph1.QueryState = ITG_QueryIterate
  1003.     Wend
  1004.     If frmPlayground!ITGraph1.ItemBorderColor(ix) <> -1 Then
  1005.       pctItemBorderColor.BackColor = frmPlayground!ITGraph1.ItemBorderColor(ix)
  1006.     Else
  1007.       pctItemBorderColor.BackColor = frmPlayground!ITGraph1.ForeColor
  1008.     End If
  1009.     If frmPlayground!ITGraph1.ItemFillColor(ix) <> -1 Then
  1010.       pctItemFillColor.BackColor = frmPlayground!ITGraph1.ItemFillColor(ix)
  1011.     Else
  1012.       pctItemFillColor.BackColor = frmPlayground!ITGraph1.FillColor
  1013.     End If
  1014.     If frmPlayground!ITGraph1.ItemTextColor(ix) <> -1 Then
  1015.       pctItemTextColor.BackColor = frmPlayground!ITGraph1.ItemTextColor(ix)
  1016.     Else
  1017.       pctItemTextColor.BackColor = frmPlayground!ITGraph1.ForeColor
  1018.     End If
  1019.     txtItemTextLeft = Format$(frmPlayground!ITGraph1.ItemLabelLeft(ix))
  1020.     txtItemTextWidth = Format$(frmPlayground!ITGraph1.ItemLabelWidth(ix))
  1021.     txtItemTextTop = Format$(frmPlayground!ITGraph1.ItemLabelTop(ix))
  1022.     txtItemTextHeight = Format$(frmPlayground!ITGraph1.ItemLabelHeight(ix))
  1023.     btnTextPosH(frmPlayground!ITGraph1.ItemLabelAlign(ix) Mod 3).Value = True
  1024.     btnTextPosV(frmPlayground!ITGraph1.ItemLabelAlign(ix) \ 3).Value = True
  1025.     txtItemGraphicLeft = Format$(frmPlayground!ITGraph1.ItemGraphicLeft(ix))
  1026.     txtItemGraphicWidth = Format$(frmPlayground!ITGraph1.ItemGraphicWidth(ix))
  1027.     txtItemGraphicTop = Format$(frmPlayground!ITGraph1.ItemGraphicTop(ix))
  1028.     txtItemGraphicHeight = Format$(frmPlayground!ITGraph1.ItemGraphicHeight(ix))
  1029.     btnGraphicPosH(frmPlayground!ITGraph1.ItemGraphicAlign(ix) Mod 3).Value = True
  1030.     btnGraphicPosV(frmPlayground!ITGraph1.ItemGraphicAlign(ix) \ 3).Value = True
  1031.     cmbShapeStyle.ListIndex = frmPlayground!ITGraph1.ItemGraphicStyle(ix)
  1032.     cmdDelete.Visible = True
  1033.     cmdAccept.Enabled = True
  1034.   End If
  1035.   edtList.SetFocus
  1036. End Sub
  1037. Sub Form_Load ()
  1038.   cmbShapeStyle.Clear
  1039.   cmbShapeStyle.AddItem "ITG_GraphicNone"
  1040.   cmbShapeStyle.AddItem "ITG_GraphicIconFill"
  1041.   cmbShapeStyle.AddItem "ITG_GraphicIconFillIso"
  1042.   cmbShapeStyle.AddItem "ITG_GraphicShapeFill"
  1043.   cmbShapeStyle.AddItem "ITG_GraphicShapeFillIso"
  1044. End Sub
  1045. Sub LoadGraphicNames ()
  1046.   cmbItemGraphic.Clear
  1047.   For i = 0 To frmPlayground!ITGraph1.GraphicCount - 1
  1048.     cmbItemGraphic.AddItem frmPlayground!ITGraph1.GraphicName(i)
  1049.   Next i
  1050.   cmbItemGraphic.ListIndex = 0
  1051. End Sub
  1052. Sub LoadShapeNames ()
  1053.   cmbItemShape.Clear
  1054.   For i = 0 To frmPlayground!ITGraph1.ShapeCount - 1
  1055.     cmbItemShape.AddItem frmPlayground!ITGraph1.ShapeName(i)
  1056.   Next i
  1057.   cmbItemShape.ListIndex = 1
  1058. End Sub
  1059. Sub lstSources_DblClick ()
  1060.   If frmPlayground!ITGraph1.DrawScale = 0 Then
  1061.     frmPlayground!ITGraph1.DrawScale = 100
  1062.   End If
  1063.   frmPlayground!ITGraph1.SelectRectLeft = frmPlayground!ITGraph1.ItemXpos(lstSources.ItemData(lstSources.ListIndex))
  1064.   frmPlayground!ITGraph1.SelectRectTop = frmPlayground!ITGraph1.ItemYpos(lstSources.ItemData(lstSources.ListIndex))
  1065.   frmPlayground!ITGraph1.SelectRectWidth = frmPlayground!ITGraph1.ItemWidth(lstSources.ItemData(lstSources.ListIndex))
  1066.   frmPlayground!ITGraph1.SelectRectHeight = frmPlayground!ITGraph1.ItemHeight(lstSources.ItemData(lstSources.ListIndex))
  1067.   frmPlayground!ITGraph1.ZoomSelectRect = 0
  1068.   frmPlayground.Enabled = True
  1069.   frmItemProperties.Hide
  1070. End Sub
  1071. Sub lstTargets_DblClick ()
  1072.   If frmPlayground!ITGraph1.DrawScale = 0 Then
  1073.     frmPlayground!ITGraph1.DrawScale = 100
  1074.   End If
  1075.   frmPlayground!ITGraph1.SelectRectLeft = frmPlayground!ITGraph1.ItemXpos(lstTargets.ItemData(lstTargets.ListIndex))
  1076.   frmPlayground!ITGraph1.SelectRectTop = frmPlayground!ITGraph1.ItemYpos(lstTargets.ItemData(lstTargets.ListIndex))
  1077.   frmPlayground!ITGraph1.SelectRectWidth = frmPlayground!ITGraph1.ItemWidth(lstTargets.ItemData(lstTargets.ListIndex))
  1078.   frmPlayground!ITGraph1.SelectRectHeight = frmPlayground!ITGraph1.ItemHeight(lstTargets.ItemData(lstTargets.ListIndex))
  1079.   frmPlayground!ITGraph1.ZoomSelectRect = 0
  1080.   frmPlayground.Enabled = True
  1081.   frmItemProperties.Hide
  1082. End Sub
  1083. Sub pctItemBorderColor_Click ()
  1084.   Const CC_RGBINIT = &H1&
  1085.   On Error GoTo pctItemBorderColor_Error
  1086.   CMDialog1.Color = pctItemBorderColor.BackColor
  1087.   CMDialog1.Flags = CC_RGBINIT
  1088.   CMDialog1.Action = 3
  1089.   pctItemBorderColor.BackColor = CMDialog1.Color
  1090. pctItemBorderColor_Error:
  1091.   Exit Sub
  1092. End Sub
  1093. Sub pctItemFillColor_Click ()
  1094.   Const CC_RGBINIT = &H1&
  1095.   On Error GoTo pctItemFillColor_Error
  1096.   CMDialog1.Color = pctItemFillColor.BackColor
  1097.   CMDialog1.Flags = CC_RGBINIT
  1098.   CMDialog1.Action = 3
  1099.   pctItemFillColor.BackColor = CMDialog1.Color
  1100. pctItemFillColor_Error:
  1101.   Exit Sub
  1102. End Sub
  1103. Sub pctItemTextColor_Click ()
  1104.   Const CC_RGBINIT = &H1&
  1105.   On Error GoTo pctItemTextColor_Error
  1106.   CMDialog1.Color = pctItemTextColor.BackColor
  1107.   CMDialog1.Flags = CC_RGBINIT
  1108.   CMDialog1.Action = 3
  1109.   pctItemTextColor.BackColor = CMDialog1.Color
  1110. pctItemTextColor_Error:
  1111.   Exit Sub
  1112. End Sub
  1113.